<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>管理中心</title>
<link href="__ACSS__/css.css" rel="stylesheet" type="text/css">
<script language='javascript' src='__AJS__/public.js'></script>
<script src="__PUBLIC__/ckeditor/ckeditor.js"></script>
<import type='js' file='Admin.Js.jquery'/>
<script>
	
	$().ready(function(){
				//商品信息中点击新品和热销图片可以直接生成保存
				$('.cls1').bind('click',function(){		
				if($(this).attr('src')=="__AIMG__/yes.gif"){
					$(this).attr('src',"__AIMG__/no.gif");					
					var no=$(this).attr('src');
					no=0;					
					var id=$(this).attr('id');	
					//把当前所改变的热销ID和值传过去								
					var data={
					g_id:id,
					g_hot:no		
				}
				$.post('__GROUP__/Goods/checkNohot',data,function(msg){},'json');
								
				}else{
					$(this).attr('src',"__AIMG__/yes.gif");
					var yes=$(this).attr('src');
					yes=1;					
					var id=$(this).attr('id');				
					var data={
					g_id:id,
					g_hot:yes		
				}
				$.post('__GROUP__/Goods/checkYeshot',data,function(msg){},'json');
				}										
		});		
		$('.cls2').bind('click',function(){		
				if($(this).attr('src')=="__AIMG__/yes.gif"){
					$(this).attr('src',"__AIMG__/no.gif");					
					var no=$(this).attr('src');
					no=0;					
					var id=$(this).attr('id');				
					var data={
					g_id:id,
					g_new:no		
				}
				$.post('__GROUP__/Goods/checkNonew',data,function(msg){},'json');
								
				}else{
					$(this).attr('src',"__AIMG__/yes.gif");
					var yes=$(this).attr('src');
					yes=1;
					var id=$(this).attr('id');				
					var data={
					g_id:id,
					g_new:yes		
				}
				$.post('__GROUP__/Goods/checkYesnew',data,function(msg){},'json');
				}															
		});
		
		
			//商品信息中点击上架图片可以直接生成保存
				$('.cls3').bind('click',function(){		
				if($(this).attr('src')=="__AIMG__/yes.gif"){
					$(this).attr('src',"__AIMG__/no.gif");					
					var no=$(this).attr('src');
					no=0;					
					var id=$(this).attr('id');	
					//把当前所改变的热销ID和值传过去								
					var data={
					g_id:id,
					g_sale:no		
				}
				$.post('__GROUP__/Goods/checkNosale',data,function(msg){},'json');
								
				}else{
					$(this).attr('src',"__AIMG__/yes.gif");
					var yes=$(this).attr('src');
					yes=1;					
					var id=$(this).attr('id');				
					var data={
					g_id:id,
					g_sale:yes		
				}
				$.post('__GROUP__/Goods/checkYessale',data,function(msg){},'json');
				}										
		});		
	});
	
</script>
<style>
td,th {
	text-align: center
}
.cls1{
	
}
</style>
</head>
<SCRIPT language=javascript>
</SCRIPT>
<body>
<h1>
<span class="action-span"><a href="__APP__/Home/Register/add" target="_blank">注册会员号</a></span>
<span class="action-span1"><a href="">SHOP 管理中心</a> </span><span id="search_id" class="action-span1"> - 会员信息管理 </span>
<div style="clear:both"></div>
</h1>
	<form method='post' action='__URL__/deleteAll'>
		<table class="table" cellspacing="1" cellpadding="2" width="99%"
			align="center" border="0">
			<tbody>
				<tr>
					<th class="bg_tr" align="left" height="25">序号</th>
					<th class="bg_tr" align="left" height="25">会员名称</th>
					<th class="bg_tr" align="left" height="25">会员密码</th>
					<th class="bg_tr" align="left" height="25">性别</th>
					<th class="bg_tr" align="left" height="25">手机号码</th>
					<th class="bg_tr" align="left" height="25">邮箱</th>
					<th class="bg_tr" align="left" height="25">登录时间</th>
					<th class="bg_tr" align="left" height="25">操作</th>				
				</tr>
				<volist name='data' id='vo'>
				<tr>
					
					<td class="td_bg" width="3%" height="23" align="center">{$i}</td>
					<td class="td_bg" width="10%">{$vo.m_username}</td>
					<td class="td_bg" width="8%">{$vo.m_password}</td>
					<td class="td_bg" width="5%">
						<if condition="$vo['m_sex'] eq 1">男
						<else/>女
						</if></td>
					<td class="td_bg" width="8%">{$vo.m_phone}</td>
					<td class="td_bg" width="8%">{$vo.m_email}</td>				
					<td class="td_bg" width="7%">{$vo.m_date}</td>
					 <td width="5%" align="center" class="td_bg">
					
				      
				      <a href="" onclick="return confirm('你确定删除么?');" title="移除"><img src="__AIMG__/trash.gif"/></a>
				    </td>
				
				
				
				
					 
				</tr>
				</volist>
				<tr>
					<td colspan="12">{$show}</td>
				</tr>
			</tbody>
		</table>
	</form>
</body>
</html>
